package kr.saeildamil.androidstudy.ch06;

import kr.saeildamil.androiddforstudy.R;
import kr.saeildamil.androidstudy.exam.InflationHW;
import kr.saeildamil.androidstudy.exam.Lineartable;
import kr.saeildamil.androidstudy.exam.NameCard_InflationEX;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch06Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch06_main);
	}
	
	public void mOnClick(View v){
		switch (v.getId()) {
		case R.id.ch06_btn01:
			startActivity(new Intent(this, CodeLayoutEX.class));
			break;	
		case R.id.ch06_btn02:
			startActivity(new Intent(this, InflationEX.class));
			break;	
		case R.id.ch06_btn03:
			startActivity(new Intent(this, InflationHW.class));
			break;	
		case R.id.ch06_btn04:
			startActivity(new Intent(this, MultiPageEX.class));
			break;
		case R.id.ch06_btn05:
			startActivity(new Intent(this, Lineartable.class));
			break;
		case R.id.ch06_btn06:
			startActivity(new Intent(this, LayoutParamenterEX.class));
			break;
		case R.id.ch06_btn07:
			startActivity(new Intent(this, SetParameterEX.class));
			break;
		case R.id.ch06_btn08:
			startActivity(new Intent(this, GridLayoutEX.class));
			break;
		case R.id.ch06_btn09:
			startActivity(new Intent(this, CellPosition.class));
			break;
		case R.id.ch06_btn10:
			startActivity(new Intent(this, CellSpan.class));
			break;
		case R.id.ch06_btn11:
			startActivity(new Intent(this, NameCard_InflationEX.class));
			break;
		}
	}
	
}
